package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyDetail;
import cn.wolfcode.trip.base.query.StrategyDetailQueryObject;
import com.github.pagehelper.PageInfo;

public interface IStrategyDetailService {
    /**
     * 新增和编辑
     * @param strategyDetail
     */
    void saveOrUpdate(StrategyDetail strategyDetail);

    /**
     *高级查询
     * @param qo
     * @return
     */
    PageInfo query(StrategyDetailQueryObject qo);

    /**
     * 通过detailId查询 strategyDetail表内的信息
     * @param detailId
     * @return
     */
    StrategyDetail selectByDetailId(Long detailId);
}
